Crate cairo_lang_utils

source ·
Expand description

Cairo utilities.

Modules§

Macros§

Traits§

Functions§

  • Moves the content out of the Arc if possible, otherwise just clones it.
  • Borrows a mutable reference as Box for the lifespan of this function. Runs the given closure with the boxed value as a parameter. The closure is expected to return a boxed value, whose changes will be reflected on the mutable reference. Example: